﻿<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" CodeBehind="expert.ascx.cs"
    Inherits="ZF.WS.UserControls.Index.expert" %>
<%@ Register Src="../expsearch.ascx" TagName="expsearch" TagPrefix="uc1" %>
<%@ Register Src="/UserControls/Index/AdsArea.ascx" TagName="AdsArea" TagPrefix="uc11" %>
<div class="ct1 content">
    <div class="board zfollist mt10_ ">
        <dl>
            <dt>
                <zf:ListView runat="server" ID="lvTitle">
                    <LayoutTemplate>
                        <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                        </zf:PlaceHolder>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <a href="/expert/list.aspx?type=<%#Eval("Key") %>" class="<%# Container.DataItemIndex==0?"active":"dn_" %> slide"
                            bind="olzjm<%# Container.DataItemIndex %>">
                            <%#Eval("Text") %></a>
                    </ItemTemplate>
                </zf:ListView>
                <a class="more" href="/expert/list.aspx">更多>></a> </dt>
            <zf:ListView runat="server" ID="lvList">
                <LayoutTemplate>
                    <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                    </zf:PlaceHolder>
                </LayoutTemplate>
                <ItemTemplate>
                    <dd class="   slide olzjm<%# Container.DataItemIndex %> <%# Container.DataItemIndex==0?"active":"dn_" %>">
                        <zf:ListView ID="ListView1" runat="server" DataSource='<%#Eval("Value") %>'>
                            <LayoutTemplate>
                                <table style="width: 100%">
                                    <tr>
                                        <td style="width: 33%">
                                        </td>
                                        <td style="width: 33%">
                                        </td>
                                        <td style="width: 33%">
                                        </td>
                                    </tr>
                                    <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                                    </zf:PlaceHolder>
                                </table>
                            </LayoutTemplate>
                            <ItemTemplate>
                                <%# Container.DataItemIndex % 3 == 0 ? " <tr>" : ""%>
                                <td>
                                    <table>
                                        <tr>
                                            <td style="text-align: left">
                                                <a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>">
                                                    <img src="/photo/member/<%#((string)Eval("Member.Icon")).EmptyString("noimage.gif") %>"
                                                        style="width: 60px; height: 60px" /></a>
                                            </td>
                                            <td style="text-align: left; height: 64px;">
                                                <p>
                                                    <span>姓名：</span>
                                                    <%#((string)Eval("Member.Contact")).EmptyString(Eval("Member.Account").ToString()).MaxLength(8) %></p>
                                                <p>
                                                    <span>区域：</span>
                                                    <%#Eval("Member.Area")%></p>
                                                <p>
                                                    <span>单位：</span>
                                                    <%#((string)Eval("Member.Company")).MaxLength(8)%></p>
                                                <p>
                                                    <span>积分：</span>
                                                    <%#Eval("Member.Integral")%>&nbsp;&nbsp;<img src="/image/<%#OnLine.CheckOnLine((int)Eval("Member.MemberId"))?"online.gif":"outline.gif"%>" /></p>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2">
                                                <p class="tac_">
                                                    <a href="/expert/tolc.aspx?id=<%#Eval("Member.MemberId")%>" target="tolc<%#Eval("Member.MemberId")%>">
                                                        <span style="<%#OnLine.CheckOnLine((int)Eval("Member.MemberId"))?"color:#f00": ""%>">
                                                            在线咨询</span></a> | <a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>">个人简介
                                                    </a>| <a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>#art">文章案例 </a>|
                                                    <a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>#eMsg">留言</a></p>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <%# Container.DataItemIndex % 3 == 2 ? "</tr>" : ""%>
                            </ItemTemplate>
                        </zf:ListView>
                    </dd>
                </ItemTemplate>
            </zf:ListView>
        </dl>
    </div>
    <div class="lrcontent ml10_ mt10_  ">
        <style>
            .olsq .li1 { height: 28px; line-height: 28px; text-align: center; font-weight: bold; font-size: 14px; }
            .olsq .li1 a { color: #CA0205; }
            .olsq .li2 { height: 18px; line-height: 18px; text-align: center; }
            .olsq .li2 a { color: #666; }
        </style>
        <div class="board   artlist">
            <dl>
                <dt><a href="/info/fslist.aspx?tid=1">风水易学资讯</a> <a href="/service/fsyw.aspx?p=1"
                    style="width: 100px; border-right: 0px; color: #f00; float: right;">发布资讯</a>
                </dt>
                <zf:ListView runat="server" ID="lvArticle">
                    <LayoutTemplate>
                        <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                        </zf:PlaceHolder>
                    </LayoutTemplate>
                    <ItemTemplate>
                        <dd>
                            <a href="/service/fsywinfo.aspx?id=<%#Eval("ServiceId")%>">
                                <%#HttpUtility.HtmlEncode(string.Concat(Eval("Remark"))).MaxLength(16)%>
                            </a>
                        </dd>
                    </ItemTemplate>
                </zf:ListView>
            </dl>
        </div>
        <uc1:expsearch ID="expsearch1" runat="server" Visible="false" />
        <div class="lrcontent quitepub mt5_  b1" style="background: url(/image/qpubgb1.gif);">
            <ul>
                <li><a style="padding-left: 20px" href="/expert/list.aspx">搜索风水师、设计师</a></li>
                <li><span style="padding-left: 20px; color: #666;">注册：<a href="/Register.aspx?m=1&zj=1">风水师</a>
                    <a href="/Register.aspx?m=1&zj=2">设计师</a></span> </li>
            </ul>
        </div>
        <%--<div class=" mt5_ olsq" style=" background:url(/image/exbg.gif) no-repeat;  height:50px;">
            <ul>
                <li class="li1"><a href="/tools/lc.aspx?id=1" style="color:#f00">如何申请成为专家顾问</a></li>
                <li class="li2">
                &nbsp;&nbsp;&nbsp;<a href="/Register.aspx?zj=1">立即申请</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/regagt.aspx" target="_blank">在线咨询规则</a></li>
   
            </ul>
        </div>--%>
    </div>
    <div class="fc_">
    </div>
</div>
<uc11:AdsArea ID="AdsArea4" runat="server" Key="a3" />

<div class="ct1 content">
    <div class="board tjlp mt10_ " style="width: 716px">
        <dl>
            <dt><a href="/expert/list.aspx" class="active" style="width: 150px">风水师、设计师推荐</a> <a
                class="more" href="/expert/list.aspx">更多>></a> </dt>
            <dd>
                <div>
                    <zf:ListView runat="server" ID="lvTJ_Expert1">
                        <LayoutTemplate>
                            <div class='lvTJ_Expert1' style="width:100%">
                                <ul>
                                    <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                                    </zf:PlaceHolder>
                                </ul>
                            </div>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <li><a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>">
                                <img src="/photo/member/<%#((string)Eval("Member.Icon")).EmptyString("noimage.gif") %>" /></a>
                                <a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>">
                                    <%#((string)Eval("Member.Contact")).EmptyString(Eval("Member.Account").ToString()).MaxLength(9) %></a>
                            </li>
                        </ItemTemplate>
                    </zf:ListView>
                    <zf:ListView runat="server" ID="lvTJ_Expert2"  style="width:100%">
                        <LayoutTemplate>
                            <div class='lvTJ_Expert2'>
                                <ul>
                                    <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                                    </zf:PlaceHolder>
                                </ul>
                            </div>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <li><a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>">
                                <img src="/photo/member/<%#((string)Eval("Member.Icon")).EmptyString("noimage.gif") %>" /></a>
                                <a href="/expert/info.aspx?id=<%#Eval("Member.MemberId")%>">
                                    <%#((string)Eval("Member.Contact")).EmptyString(Eval("Member.Account").ToString()).MaxLength(9) %></a>
                            </li>
                        </ItemTemplate>
                    </zf:ListView>
            </dd>
            <%if (lvTJ_Expert1.Items.Count > 6)
              { %>
            <script>
                $(".lvTJ_Expert1").jCarouselLite({
                    auto: 5000,
                    speed: 1000,
                    visible: 6
                });
  
            </script>
            <%} %>
            <%if (lvTJ_Expert2.Items.Count > 6)
              { %>
            <script>
                $(".lvTJ_Expert2").jCarouselLite({
                    auto: 5000,
                    speed: 1000,
                    visible: 6
                });
            </script>
            <%} %>
        </dl>
    </div>
    <div class="lrcontent ml10_ mt10_  ">
        <style>
            .iblog { height: auto; }
            .iblog dl dd { height: auto; height: 130px; }
            .iblog li { width: 33%; float: left; text-align: center; line-height: 30px; height: 30px; }
            .iblog dd a { display: block; border: 1px solid #eee; margin: 1px; color: #000; }
            .iblog dd a.hot { color: #00f; }
            .iblog dd a:hover { background: #eee; color: #f00; }
        </style>
        <div class="board  iblog">
            <dl>
                <dt><a href="/blog/list.aspx">热门博客</a> <a href="/blog/list.aspx" class="more">更多>></a>
                </dt>
                <dd>
                    <ul>
                        <zf:ListView runat="server" ID="lvBlog">
                            <LayoutTemplate>
                                <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                                </zf:PlaceHolder>
                            </LayoutTemplate>
                            <ItemTemplate>
                                <li><a href="http://<%# (string.Concat( Eval("Url")).ToLower().Replace("http://",""))%>"
                                    target="_blank">
                                    <%#Eval("Name") %></a></li>
                            </ItemTemplate>
                        </zf:ListView>
                    </ul>
                </dd>
            </dl>
        </div>
        <div class="fc_">
        </div>
        <div class="board mt5_  tac_ " style="text-align: center">
            <img src="/image/mfdj.gif" />
        </div>
    </div>
    <div class="fc_">
    </div>
</div>